﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcMusicStore.Controllers
{
    public class AuctionsController : Controller
    {
        //
        // GET: /Auctions/

        public ActionResult Index()
        {
            return View();
        }
        public ActionResult Details(long id=0)
        {
            var auction = new MvcMusicStore.Models.Auction
            {
                Id = id,
                Title = "Bran new Widget",
                Description = "ssdff",
                StartPrice = 1.00m,
                CurrentPrice = 13.4m,
                StartTime = DateTime.Parse("6-12-2016 12:35 pm"),
                EndTime = DateTime.Parse("6-28-2016 12:35 pm")
            };
            return View(auction);
        }
    }
}
